SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44941: Various errors in PROC METALIB when attempting to register or update a library containing thousands of tables

DetailsAboutRate It

If you run PROC METALIB to register or update a library that contains several thousand tables, you might receive errors similar to the following:

ERROR: A lock is not available for _PMTA01_.tablename.DATA. ERROR: Critical YP Subsystem error opening message library. ERROR: UNABLE TO ACCESS MESSAGE 834.109

PROC METALIB opens each table in the library to fetch its attributes and keeps each table open for the duration of its execution. The procedure closes all tables at once, during termination. As a result of this behavior, the number of files opened by PROC METALIB can exceed per–user or per–process open file limits on operating systems that impose such limits.

To circumvent the problem, you must either increase the system open file limits, or use the SELECT or EXCLUDE statements in PROC METALIB to limit the number of tables that are to be registered or updated within a single PROC METALIB step.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SAS64-bit Enabled AIX9.21_M19.49.2 TS2M09.4 TS1M0
64-bit Enabled HP-UX9.21_M19.49.2 TS2M09.4 TS1M0
64-bit Enabled Solaris9.21_M19.49.2 TS2M09.4 TS1M0
HP-UX IPF9.21_M19.49.2 TS2M09.4 TS1M0
Linux9.21_M19.49.2 TS2M09.4 TS1M0
Linux for x649.21_M19.49.2 TS2M09.4 TS1M0
OpenVMS on HP Integrity9.21_M19.49.2 TS2M09.4 TS1M0
Solaris for x649.21_M19.49.2 TS2M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.